Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: checkout every X minutes #860

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

pauldambra
Copy link
Member

follow-up to #847

After that change, for example, when returning from a long period of inactivity we take two full snapshots. One because we have our own idle check, and one because rrweb only checks if time has passed on emit.

So, we need a more clever solution to have a checkout every X minutes while active

@pauldambra pauldambra added the bump patch Bump patch version when this PR gets merged label Oct 26, 2023
Copy link
Collaborator

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably worth rubber ducking together to figure out the best approach 👍

@github-actions
Copy link

Size Change: -84 B (0%)

Total Size: 709 kB

Filename Size Change
dist/array.full.js 170 kB -21 B (0%)
dist/array.js 111 kB -21 B (0%)
dist/es.js 111 kB -21 B (0%)
dist/module.js 111 kB -21 B (0%)
ℹ️ View Unchanged
Filename Size
dist/exception-autocapture.js 12 kB
dist/recorder-v2.js 95.1 kB
dist/recorder.js 58.4 kB
dist/surveys.js 39.7 kB

compressed-size-action

@pauldambra pauldambra merged commit 10af80a into master Oct 26, 2023
14 checks passed
@pauldambra pauldambra deleted the fix/revert-checkout-every-x branch October 26, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch Bump patch version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants